#include "StdAfx.h"
#include "EdgeScanner.h"

EdgeScanner::EdgeScanner(void)
: head(NULL)
, tail(NULL)
,len(0)
{
}

EdgeScanner::~EdgeScanner(void)
{
}

bool EdgeScanner::traverseEdge(BmpBase bmp)
{
	return false;
}

void EdgeScanner::Add(Point *point)
{
	if(0 == len)
	{
		head = (Point *)malloc(sizeof(Point));
		head->next = NULL;
		tail = head;
	}

	tail->next = point;
	point->next = NULL;
	len++;
}
